<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="utf-8" />
  <link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
  <meta name="viewport" content="width=device-width, initial-scale=1" />
  <meta name="theme-color" content="#000000" />
  <meta name="description" content="Web site created using create-react-app" />
  <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
  <title>八维严选-守护你的品质生活</title>
  <script>
    var fun = function (doc, win) {
      var docEl = doc.documentElement,
        resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',
        recalc = function () {
          var clientWidth = window.innerWidth;
          if (!clientWidth) return;

          var metaEl = document.querySelector('meta[name="viewport"]');
          var dpr = window.devicePixelRatio || 1;
          scale = 1 / dpr;
          // 设置viewport，进行缩放，达到高清效果
          metaEl.setAttribute('content', 'initial-scale=' + scale +
            ',maximum-scale=' + scale + ', minimum-scale=' + scale + ',user-scalable=no');
          // 设置data-dpr属性，留作的css hack之用，解决图片模糊问题和1px细线问题
          docEl.setAttribute('data-dpr', dpr);
          //这里是假设在750px宽度设计稿的情况下，1rem = 100px；
          //可以根据实际需要修改

          docEl.style.fontSize = (clientWidth / 750) * 100 + 'px';
        };
      if (!doc.addEventListener) return;
      win.addEventListener(resizeEvt, recalc, false);
      doc.addEventListener('DOMContentLoaded', recalc, false);
    }
    fun(document, window)
  </script>
  <script>
    window._hmt = window._hmt || [];
    (function () {
      var hm = document.createElement("script");
      hm.src = "https://hm.baidu.com/hm.js?4eef3278a5967a7bb39c38ddd4b2c286";
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(hm, s);
    })();
  </script>


</head>

<body>
  <noscript>You need to enable JavaScript to run this app.</noscript>
  <div id="root"></div>
</body>

</html>